function hospitalList()
 {
     this.length=12;
	 this[0] = new Option("中国医学科学院阜外心血管病医院（北京协和医学院阜外心血管病医院）","中国医学科学院阜外心血管病医院（北京协和医学院阜外心血管病医院）");
	 this[1] = new Option("北京急救中心","北京急救中心");
	 this[2] = new Option("北京按摩医院","北京按摩医院");
	 this[3] = new Option("北京大学口腔医院门诊部","北京大学口腔医院门诊部");
	 this[4] = new Option("北京口腔工作者协会西城门诊部","北京口腔工作者协会西城门诊部");
	 this[5] = new Option("东直门医院","东直门医院");
     this[6] = new Option("积水潭医院","积水潭医院");
     this[7] = new Option("协和医院","协和医院");
     this[8] = new Option("同仁医院","同仁医院");
     this[9] = new Option("中医药大学第三附属医院","中医药大学第三附属医院");
     this[10] = new Option("304医院","304医院");
     this[11] = new Option("民航医院","民航医院");
     return this;
 }
function addHospital(hospital,acvalue,acArr){
     var hospitalOb=new hospitalList();
     var _hos = acArr;
     for(var i=0;i<hospitalOb.length;i++)
     {
         
         var isIn=_hos.some(function(item,index,array){
            return (hospitalOb[i].value == item)
         })
         if(hospitalOb[i].value == acvalue || !isIn){
             try
             {  
                 hospital.add(hospitalOb[i]);
             }
             catch(e)
             {
                 hospital.add(hospitalOb[i],null);
             }
             if(hospitalOb[i].value == acvalue){
                 hospital.value=acvalue;
             }
         }
         
      }
}
function delHospitals(hospital)
 {
     var _hospital = hospital;
     _hospital.length=0;
 }